<template>
  <div>
    <el-container>
      <el-header>
        <div class="title">任务列表</div>
        <el-icon class="close" size="large" @click="closewin">

        </el-icon>
      </el-header>
    </el-container>
  </div>
</template>

<script setup lang="ts">
// 关闭窗口
const closewin = () => {
  window.electron.ipcRenderer.invoke('renderer-to-tack')
}
</script>

<style lang="scss" scoped></style>
